package cn.edu.bupt.freewings.forum.front.beans;

import cn.edu.bupt.freewings.forum.common.PostType;
import cn.edu.bupt.freewings.forum.common.UserType;

/**
 * @author hubaiyu (hubaiyu@gmail.com)
 *
 */
public class PostBean {
	private PostType.Post post;
	
	public PostBean(PostType.Post post){
		this.post = post;
	}
	
	public String getText(){
		return post.getText();
	}
	
	public UserType.User getUser(){
		return post.getUser();
	}
}
